<template>
    <div id="big_resgin">
	    <div class="resgin">
  			<div class="resgin_identity" v-show="identity">
  				<div class="resgin_res">招聘公司信息</div>
  				<div class="resgin_com1">已有账号：<Button type="primary" class="resginbut" @click="LoginSubmit()">马上登陆</Button></div>
  				<div class="resgin_oneidentity ">
  					<div style="width: 20%;">
  						<span class="resgin_one_spanidentity" >城市:</span>
  					</div>
  					<div style="width: 75%; position: relative;">
  						<i-input type="text" v-model="user" placeholder="输入公司所在的城市，例如:上海" :maxlength="15"></i-input>
  					    <Button type="primary" class="resgincity" @click="CityClick()">城市选择</Button>
  					</div>
  				</div>
  				<div class="resgin_oneidentity ">
  					<div style="width: 20%;">
  						<span class="resgin_one_spanidentity" >公司名称:</span>
  					</div>
  					<div style="width: 75%;">
  						<i-input type="text" v-model="user" placeholder="输入用户名" :maxlength="15"></i-input>
  					</div>
  				</div>
  				<Button type="primary" class="resginbuttom" @click="PreClick()">上一步</Button>
  				<Button type="primary" class="resginbuttom1" @click="NextClick()">下一步</Button>
  			</div>
  			
  			<div class="resgin_identity" v-show="emailCheck">
  				<div class="resgin_company">{{companyname}}</div>
  				<div class="resgin_company1">你已是猎工客户，请留下你的信息，我们会尽快联系您！</div>
  				<div class="resgin_company1">您也可以联系销售***  电话:12345678998</div>
  				<div class="resgin_oneidentity ">
  					<div style="width: 20%;">
  						<span class="resgin_one_spanidentity" >联系人:</span>
  					</div>
  					<div style="width: 75%;">
  						<i-input type="text" v-model="user" placeholder="输入联系人" :maxlength="15"></i-input>
  					</div>
  				</div>
  				<div class="resgin_oneidentity ">
  					<div style="width: 20%;">
  						<span class="resgin_one_spanidentity" >联系电话:</span>
  					</div>
  					<div style="width: 75%;">
  						<i-input type="text" v-model="user" placeholder="输入联系电话" :maxlength="15"></i-input>
  					</div>
  				</div>
  				<Button type="primary" class="resginbuttom" @click="ResginPreClick()">上一步</Button>
  				<Button type="primary" class="resginbuttom1" @click="ResginSubmit()">提交</Button>
  			</div>
  			
	    </div>
    </div>
</template>
<script>
	export default {
    	name: 'Resgin',
         data () {
            return {
            	companyname:"mzx",
            	identity:true,
            	emailCheck:false
            }
        },
        methods: {
            PreClick(){
            	this.$router.push("/")
            },
            NextClick(){
            	this.emailCheck = true
            	this.identity = false
            },
            ResginPreClick(){
            	this.emailCheck = false
            	this.identity = true
            },
            ResginSubmit(){
            	this.$router.push("/")
            }
        }
    }
</script>
<style>
	.resginbut{
		
	}
	.resgin_com1{
		font-size: 14px;
		position: relative;
		left: 210px;
		
	}
	.resgin_res{
		font-size: 20px;
		color: #2DB7F5;
	}
	.resgin_company{
		font-size: 18px;
		font-weight: 700;
	}
	.resgincity{
		width: 80px;
		position: absolute;
		top: 7px;
		right: 1px;
	}
	.resginbuttom1{
		position: relative;
	    top: 30px;
	    left: 125px;
	    width: 30%;
	}
	.resginbuttom{
		position: relative;
	    top: 30px;
	    left: 80px;
	    width: 30%;
	}
	.resgin_butidentity{
		height: 30px;
	    position: relative;
	    top: 8px;
	    right: -10px;
	}
	.resgin_one_spanidentity{
		font-size: 16px;
	}
	.resgin_one_but{
		position: relative;
		top: 30px;
	    right: -340px;
	}
	.resgin_one_span{
		color:  #8392A7;
		position: relative;
		top: 30px;
	    right: -110px;
	}
	.ivu-steps .ivu-steps-title{
		position: relative;
	    top: 35px;
	    left: -50px;
	}
	.resgin_check,.resgin_identity{
		height: 200px;
	}
	.resgin_one{
		border: 1px solid #E6E6E6;
		height: 90px;
		margin-top: 20px;
	}
	.resgin_oneidentity{
		height: 45px;
		margin-top: 10px;
		display: flex;
		line-height: 45px;
	}
	.resgin{
		width: 460px;
		height: 300px;
		position: absolute;
		left: 50%;
		margin-left: -230px;
		top: 50%;
		margin-top: -225px;
		z-index: 100;
		background: rgba(255, 255, 255, 0.9);
		padding: 30px 40px;
	}
	#big_resgin{
		position:absolute;
		left:0;
		top:0;
		width:100%;
		height:100%;
		background-image: url(../../../static/login_img/320032.jpg);
	}
</style>